package chapter0.ioc;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class IocTest {
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");

		//ApplicationContext context = new FileSystemXmlApplicationContext("");
		AccountAction action = (AccountAction) context.getBean("accountAtion");
		action.save();
	}
}
